package com.wx.gof.pattern.behavioral.visitor;

import lombok.Data;

/**
 * @ClassName Course
 * @Author wx
 * @Description 抽象课程
 * @Date 2018-12-16-18:18
 */
@Data
public abstract class Course {
    protected String name;

    /**
     * @methodName: runVisitor
     * @author: wx
     * @description: 执行访问者
     * @param iVisitor
     * @date: 2018/12/16
     * @return: void
     */
    abstract void  runVisitor(IVisitor iVisitor);
}
